package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_douluodalu_user_hun_li", desc = "斗罗/封神用户魂力日志", autoSave = true, uploadCk = true, isCross = true)
public class LogDouLuoDaLuUserHunLi extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "魂力")
    private long hunLi;

    public LogDouLuoDaLuUserHunLi(int activityId, long userId, long hunLi, Date logTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.hunLi = hunLi;
    }

    public long getUserId() {
        return userId;
    }

}
